projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9c0f7c
)
* subr.el (sref): Doc-string added.
author
Kenichi Handa
<handa@m17n.org>
Fri, 20 Feb 1998 01:43:38 +0000
(
01:43
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Fri, 20 Feb 1998 01:43:38 +0000
(
01:43
+0000)
lisp/subr.el
patch
|
blob
|
history
diff --git
a/lisp/subr.el
b/lisp/subr.el
index a3d6554e354e6781f942886f899350dc7862b4f6..90588a90046d28ef41ae56cfbf46e37d8ac92bae 100644
(file)
--- a/
lisp/subr.el
+++ b/
lisp/subr.el
@@
-512,6
+512,8
@@
as returned by the `event-start' and `event-end' functions."
(defalias 'define-function 'defalias)
(defun sref (string byte-index)
+ "Obsolete function returning a characater in STRING at BYTE-INDEX.
+Please convert your programs to use `aref' witha character-base index."
(let ((byte 0) (char 0))
(while (< byte byte-index)
(setq byte (+ byte (char-bytes (aref string byte)))))